package com.index;

import java.io.IOException;

public class InvertedIndex {

	
	public static void run(String path){
		System.out.println(path+"统计开始...");
		try {
			String tmpIndex = CountSplitWord.execute(path);
			System.out.println("tmp file "+tmpIndex);
//			if(null != tmpIndex && !"".equals(tmpIndex)){
//				MergeIndex.execute(tmpIndex);
//			}else{
//				System.out.println("分词统计索引失败！");
//			}
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}
}
